#计算球十次落地所走的路程
time = 1
L = s = 10
for i in range (1, 10):
    s /= 2
    L += s * 2
print("下落过程总路程为{}".format(L))
